package com.it.park.rms.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.it.park.rms.client.service.UserRoleService;
import com.it.park.rms.common.Result;

@Controller
@RequestMapping("admin/userRole")
public class AdminUserRoleController {

	@Resource
	private UserRoleService userRoleService;
	
	@RequestMapping("saveUserRole")
	@ResponseBody
	public Result<Boolean> saveUserRole(@RequestBody String[] roleIds,@RequestBody String[] userIds){
		Result<Boolean> result = new Result<>(true);
		
		return result;
	}
}
